<?php
	// we want to be sure that this page is send UTF-8 encoded
	// regardless of apache configration
	header("Content-Type: text/html; charset=utf-8");

	// get the configuration
	include_once('conf.php');
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<title>Mapsolute - php/SOAP examples</title>
	<link rel="stylesheet" href="css/map24.css" type="text/css" />

	<style type="text/css">
	body,html
	{
		width:		100%;
		height:		100%;
		margin:		0px;
		padding:	0px;
	}
	</style>
</head>
<body>
	<applet
		code	 = '<?=$CONF['APPLET_CODE']?>'
		codebase = '<?=$CONF['APPLET_CODEBASE']?>'
		archive  = '<?=$CONF['APPLET_ARCHIVE']?>'
		width    = '100%'
		height   = '470'
		id       = 'map24_applet'
		name     = 'map24_applet'>

		<param name='sid'           value='<?=$CONF['SESSION_ID']?>'>
		<param name='mid'           value='<?=$CONF['MAP24_ID']?>'>
		<param name='skin'          value='<?=$CONF['APPLET_SKIN']?>'>
		<param name='lang'          value='<?=$CONF['APPLET_LANG']?>'>
		<param name='psym'          value='<?=$CONF['APPLET_PSYM']?>'>
		<param name='pprop'         value='<?=$CONF['APPLET_PPROP']?>'>
		<param name='basemap'       value='<?=$CONF['MAP']?>'>
		<param name='logbaseurl'    value='<?=$CONF['WS_INTERFACE']?>/map24agent'>
		<param name='map24redirect' value='<?=$CONF['WS_INTERFACE']?>/map24agent'>
		<param name='map24agentid'  value='<?=$CONF['WS_INTERFACE']?>/map24agent'>

		<param name="METRIC_DISPLAY" value='<?=$CONF['APPLET_METRIC_DISPLAY']?>'>
	</applet>
</body>
</html>